package cn.signalpha.modules.shop.vo;

import cn.signalpha.core.swagger.ApiModelPropertyEnum;
import cn.signalpha.modules.shop.entity.PublicityGoods;
import cn.signalpha.modules.shop.entity.enums.GoodsTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 视图实体类
 *
 * @author signalpha
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PublicityGoodsVO对象", description = "营销推广商品")
public class PublicityGoodsVO extends PublicityGoods {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "商品封面")
	private String goodsImg;

	@ApiModelProperty(value = "商品名称")
	private String goodsName;

	@ApiModelProperty(value = "商品类型")
	@ApiModelPropertyEnum(GoodsTypeEnum.class)
	private Integer goodsType;

	@ApiModelProperty(value = "商品价格")
	private String goodsPrice;

	@ApiModelProperty(value = "商品状态")
	private String goodsStatus;

	@ApiModelProperty(value = "商品标签，逗号分隔")
	private String goodsTagName;

	@ApiModelProperty(value = "商品库存")
	private Integer goodsStock;

	@ApiModelProperty(value = "商品销量")
	private Integer goodsSalesVolume;

	@ApiModelProperty(value = "营销推广配置")
	private String publicityConfig;

	@ApiModelProperty(value = "营销推广标题")
	private String publicityTitle;

	@ApiModelProperty(value = "营销推广是否支持优惠券")
	private Integer publicityIsCoupon;

}
